package com.inxedu.os.edu.controller.Images;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@Api(tags = "页面跳转")
public class PageController {

    @RequestMapping(value = "/main",method = {RequestMethod.GET,RequestMethod.POST})
    public String  tomain(){
        return "view/inxedu/admin/main/main";
    }
    @RequestMapping(value = "admin/main/index",method = {RequestMethod.GET,RequestMethod.POST})
    public String  toindex(){
        return "view/inxedu/admin/main/index";
    }

   /* @RequestMapping("{url}")
    public String tourl(@PathVariable String url){
        return  url;
    }*/
}
